package com.dtw.ditouwang.beans;

import java.util.List;

public class CommentBean {

    /**
     * flag : Success
     * msg : 查询成功
     * result : true
     * data : [{"a_id":3,"head":null,"nickname":"哈哈","info":"评论3","times":"2018-11-19 09:36","zan":5,"children":[{"c_id":2,"c_nickname":"哈哈","c_content":"评论2","times":"2018-11-19 09:12:36"},{"c_id":4,"c_nickname":"哈哈","c_content":"二级评论","times":"2018-11-19 09:12:36"},{"c_id":5,"c_nickname":"aaa","c_content":"二级评论1","times":"2018-11-19 09:12:36"}]}]
     */

    private String flag;
    private String msg;
    private boolean result;
    private List<DataBean> data;

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * a_id : 3
         * head : null
         * nickname : 哈哈
         * info : 评论3
         * times : 2018-11-19 09:36
         * zan : 5
         * children : [{"c_id":2,"c_nickname":"哈哈","c_content":"评论2","times":"2018-11-19 09:12:36"},{"c_id":4,"c_nickname":"哈哈","c_content":"二级评论","times":"2018-11-19 09:12:36"},{"c_id":5,"c_nickname":"aaa","c_content":"二级评论1","times":"2018-11-19 09:12:36"}]
         */

        private int a_id;
        private String head;
        private String nickname;
        private String info;
        private String times;
        private int zan;
        private int is_click;
        private List<ChildrenBean> children;

        public int getA_id() {
            return a_id;
        }

        public void setA_id(int a_id) {
            this.a_id = a_id;
        }

        public String getHead() {
            return head;
        }

        public void setHead(String head) {
            this.head = head;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getInfo() {
            return info;
        }

        public void setInfo(String info) {
            this.info = info;
        }

        public String getTimes() {
            return times;
        }

        public void setTimes(String times) {
            this.times = times;
        }

        public int getZan() {
            return zan;
        }

        public void setZan(int zan) {
            this.zan = zan;
        }

        public List<ChildrenBean> getChildren() {
            return children;
        }

        public void setChildren(List<ChildrenBean> children) {
            this.children = children;
        }

        public int getIs_click() {
            return is_click;
        }

        public void setIs_click(int is_click) {
            this.is_click = is_click;
        }

        public static class ChildrenBean {
            /**
             * c_id : 2
             * c_nickname : 哈哈
             * c_content : 评论2
             * times : 2018-11-19 09:12:36
             */

            private int c_id;
            private String c_nickname;
            private String c_content;
            private String times;

            public int getC_id() {
                return c_id;
            }

            public void setC_id(int c_id) {
                this.c_id = c_id;
            }

            public String getC_nickname() {
                return c_nickname;
            }

            public void setC_nickname(String c_nickname) {
                this.c_nickname = c_nickname;
            }

            public String getC_content() {
                return c_content;
            }

            public void setC_content(String c_content) {
                this.c_content = c_content;
            }

            public String getTimes() {
                return times;
            }

            public void setTimes(String times) {
                this.times = times;
            }
        }
    }
}
